.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 22px; /* Fixed height to prevent layout shift */
  margin-bottom: var(--spacing-2);
}

.title {
  display: block;
  font-size: var(--font-size-2);
  font-weight: 600;
  color: var(--color-gray-300);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-1);
  color: var(--color-gray-400);
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: var(--border-radius-sm);
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}

.button:hover {
  color: var(--color-gray-100);
  transform: scale(1.1);
}

.button:focus {
  outline: none;
}

.button:focus-visible {
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
